package com.application.lucky.bean.jsonBean;


import com.chad.library.adapter.base.entity.AbstractExpandableItem;
import com.chad.library.adapter.base.entity.IExpandable;
import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

public class RechargeGroup extends AbstractExpandableItem<RechargeItem>implements MultiItemEntity {
    public static final int TYPE_LEVEL_0 = 0;
    public static final int TYPE_LEVEL_1 = 1;
    public int level;

    public RechargeGroup(int level) {
        this.level = level;
    }

    public String content;
    public String title;
    public int iconRes;

    @Override
    public int getLevel() {
        return level;
    }

    @Override
    public int getItemType() {
        return level;
    }


    public static RechargeGroup getLevel0(){
        return new RechargeGroup(TYPE_LEVEL_0);
    }

}
